$.get('./php/tuijian.php',{'floors':1},res=>{
    console.log(res);
    var {meta:{status,msg},data}=res;
    if(status===1){
        var str='';
        data.forEach(item=>{
            str+=`
            <div class="goodsimg">
                <img src="${item.imgpath}" alt="">
                <p>${item.name}</p>
            </div>
            <div class="jiage">
                <span class="jiage-1"></span>￥<span class="jiage-2">${item.price}</span>
            </div>
            `
        })
        $('.footer-r .r-box1').html(str)
    }
},'json')